package com.cx.mall.common.entity.seckill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author zs
 * @since 2025-08-07
 */
@Getter
@Setter
@TableName("seckill_goods")
public class SeckillGoods implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * spu ID
     */
    @TableField("spu_id")
    private String spuId;

    /**
     * sku ID
     */
    @TableField("sku_id")
    private String skuId;

    /**
     * 标题
     */
    @TableField("sku_name")
    private String skuName;

    /**
     * 商品图片
     */
    @TableField("image")
    private String image;

    /**
     * 原价格
     */
    @TableField("price")
    private Integer price;

    /**
     * 秒杀价格
     */
    @TableField("secki11_price")
    private Integer secki11Price;

    /**
     * 秒杀商品数
     */
    @TableField("num")
    private Integer num;

    /**
     * 剩余库存数
     */
    @TableField("store_count")
    private Integer storeCount;

    /**
     * 描述
     */
    @TableField("content")
    private String content;

    /**
     * 活动ID
     */
    @TableField("activity_id")
    private Integer activityId;
}
